package com.shequan.weibo.dao;

import java.util.List;

import com.shequan.weibo.bean.pojo.TopicWeibo;
/**
 * 
 * <P>
 * Copyright 2012 shequaner.
 * 
 * All Rights Reserved.
* @author mazg
 * @version 1.0, 2012-3-24
 * @see com.shequan.weibo.dao.TopicWeiboDAO 
 * @since 1.0
 */
public interface TopicWeiboDAO {
    int deleteByPrimaryKey(Integer topicWeiboId);

    int insert(TopicWeibo record);

    int insertSelective(TopicWeibo record);

    TopicWeibo selectByPrimaryKey(Integer topicWeiboId);

    int updateByPrimaryKeySelective(TopicWeibo record);

    int updateByPrimaryKey(TopicWeibo record);

	List<TopicWeibo> queryWeiboByTopicId(int topicId);
}